package com.shtel.paas.monitorcenter.autodiscover.mapper;

import java.util.List;

import com.shtel.paas.monitorcenter.autodiscover.entity.AlarmFrequency;
import com.shtel.paas.monitorcenter.autodiscover.entity.AlarmKpi;
import com.shtel.paas.monitorcenter.autodiscover.entity.AlarmRule;
import com.shtel.paas.monitorcenter.autodiscover.entity.RuleId;


public interface QueryInfoMapper {
	//查询指标规则
	public List<AlarmRule> queryIndexRule ();
	
	//查询频率信息
	public List<AlarmFrequency> queryFrequency();
	
	//查询运维命令
	public List<AlarmKpi> queryKpi();
	
	//查询已配置IP
	public List<String> queryHostIp();
	
	//查询对应IP的hostId
	public int queryHostId(String ip);
	
	//查询用户对应的id
	public int queryUserId(String name);
	
	//查询默认的规则的id
	public int queryRuleId(RuleId ruleId);
	
	//查询kpi_name
	public String queryKpiname(String name);
	
	
}
